<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>


<script>

    let date =new Date();
    console.log(date);


    console.log(date.toLocaleString());
</script>
</html>